<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
    <link rel="stylesheet" type="text/css" href="http://localhost/e-shop/xiangqu/Static/hdjs/hdjs.css">
   
</head>
<body>
<div class="wrap">
    <div class="hd-title-header">添加分类</div>
    <form action="" method="post" class="form-inline hd-form">
        <table class="hd-table hd-table-list" border="0">
            <tr>
                <th class="w100">分类名称</th>
                <td  class="w100">
                    <input type="text" name="cname" class="w200"/> 
                </td>
                <td>分类名称长度 1 到 20 位</td>
            </tr>
            <tr>
                <th class="w100">所属分类</th>
                <td>
                	<input type="hidden" name="pid" id="pid" value="<?php echo $hd['get']['cid'];?>" />
                    <span><?php echo $cname['cname'];?></span>
                </td>
                <td></td>
            </tr>
            <tr>
            	<th class="w100">选择类型</th>
            	<td>
            		<select name="Type_tid">
            			<option value="0">请选择类型</option>
            			<?php foreach ($type as $k=>$v){?>
            			<option value="<?php echo $v['tid'];?>"><?php echo $v['tname'];?></option>
            			<?php }?>
            		</select>
            	</td>
            	<td></td>
            </tr>
             <tr>
                <th class="w100">是否显示在导航</th>
                <td>
                     是：<input type="radio" name="is_nav" id=""  value="1"/>
                    &nbsp;
                    否: <input type="radio" name="is_nav" id=""  value="0" checked="checked" />
                </td>
                <td></td>
            </tr>
            <tr>
                <th class="w100">分类排序</th>
                <td>
                    <input type="text" name="csort" class="w200" value="100"/>
                </td>
                <td>请填写1到65535的排序数字 </td>
            </tr>
            <tr style="border-bottom: 0px;">
            	
            	<th style="text-align: center;border-bottom: 0px;"><input type="submit" class="hd-btn hd-btn-success" value="添加"/></th>
            	<td style="border-bottom: 0px;"></td>
            	<td style="border-bottom: 0px;"></td>
            </tr>
        </table>
        <!--<div class="position-bottom">
            <input type="submit" class="hd-btn hd-btn-success" value="添加"/>
        </div>-->
    </form>
</div>
</body>
</html>